package com.run.motion.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

@Component
@Configuration
@ConfigurationProperties(prefix = "img")
public  class IpConfig {
    /** 服务器运行的ip地址和端口号
     * ip地址可以用cmd 的 ipconfig命令查看
     * */
    private String ip;

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }
}
